package com.mew.common.entity.record;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


@TableName("r_inout_lobby")
@Data
@ToString
@NoArgsConstructor
public class InoutLobby {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    @TableField("mac")
    private String mac;
    /**
     * 登录IP
     */
    @TableField("ip")
    private String ip;
    /**
     * 设备类型【0-unity 1-android 2-ios 3-windows 4-模拟器】
     */
    @TableField("devices_type")
    private Integer devicesType;
    /**
     * 登录时间
     */
    @TableField("login_time")
    private Date loginTime;
    /**
     * 退出世界
     */
    @TableField("out_time")
    private Date outTime;

    /**
     * 0表示未完成，1表示已完成【退出】
     */
    @TableField("state")
    private Integer state;

    @TableField("remark")
    private String remark;


}
